package com.his.system.manager.entity;

import com.his.system.manager.config.ConstantProperties;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * medicaldisease
 *
 * @author
 */
@Data
public class MedicaldiseaseEntity implements Serializable {
    /**
     * ID主键
     */
    private Integer id;

    /**
     * 病历ID
     */
    private Integer medicalid;

    /**
     * 挂号ID
     */
    private Integer registid;

    /**
     * 疾病ID
     */
    private Integer diseaseid;

    /**
     * 诊断类型 1-西医 2-中医
     */
    private Integer diagnosetype;

    /**
     * 发病日期
     */
    @DateTimeFormat(pattern = ConstantProperties.DATE_TIME_FORMAT)
    private Date getsiskdate;

    /**
     * 诊断种类 1-初诊 2-终诊
     */
    private Integer diagnosecate;

    private static final long serialVersionUID = 1L;
}